package com.vf.editor.common.mapping;

import com.jfinal.plugin.activerecord.ActiveRecordPlugin;
import com.vf.editor.common.model.resources.*;

public class _ResMappingKit {
	public static void mapping(ActiveRecordPlugin arp) {
		arp.addMapping(Scene.TABLE_NAME, "id", Scene.class);
		arp.addMapping(SceneConfig.TABLE_NAME, "id", SceneConfig.class);
		arp.addMapping(SceneLayer.TABLE_NAME, "id", SceneLayer.class);
		arp.addMapping(SceneModel.TABLE_NAME, "id", SceneModel.class);
		arp.addMapping(SceneVmodel.TABLE_NAME, "id", SceneVmodel.class);
		arp.addMapping(ServerMap.TABLE_NAME, "id", ServerMap.class);
		arp.addMapping(Model.TABLE_NAME, "id", Model.class);
		arp.addMapping(ModelClassify.TABLE_NAME, "id", ModelClassify.class);
		arp.addMapping(SceneRoadMark.TABLE_NAME, "id", SceneRoadMark.class);
		arp.addMapping(Icon.TABLE_NAME, "id", Icon.class);
		arp.addMapping(IconClassify.TABLE_NAME, "id", IconClassify.class);
		arp.addMapping(Point.TABLE_NAME, "id", Point.class);
		arp.addMapping(PointClassify.TABLE_NAME, "id", PointClassify.class);
		arp.addMapping(ScenePoint.TABLE_NAME, "id", ScenePoint.class);
		arp.addMapping(SceneProperty.TABLE_NAME, "id", SceneProperty.class);
		
		arp.addMapping(ScenePolyline.TABLE_NAME, "id", ScenePolyline.class);
		arp.addMapping(SceneWall.TABLE_NAME, "id", SceneWall.class);

	}
}
